[INFO] cloning repository https://github.com/Eros/Heart
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eros/Heart" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEros%2FHeart", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEros%2FHeart'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6675149ed54e800f26b1dad73220af0ad7866db5
[INFO] checking Eros/Heart against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEros%2FHeart" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Eros/Heart on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Eros/Heart
[INFO] finished tweaking git repo https://github.com/Eros/Heart
[INFO] tweaked toml for git repo https://github.com/Eros/Heart written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Eros/Heart already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded log v0.4.5
[INFO] [stderr]   Downloaded sha1 v0.1.1
[INFO] [stderr]   Downloaded byteorder v1.2.6
[INFO] [stderr]   Downloaded http-muncher v0.2.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4224dce613557a82fad514754fcc585f48d28b24bef2d3ab0b3defb41be24ad6
[INFO] running `Command { std: "docker" "start" "-a" "4224dce613557a82fad514754fcc585f48d28b24bef2d3ab0b3defb41be24ad6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4224dce613557a82fad514754fcc585f48d28b24bef2d3ab0b3defb41be24ad6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4224dce613557a82fad514754fcc585f48d28b24bef2d3ab0b3defb41be24ad6", kill_on_drop: false }`
[INFO] [stdout] 4224dce613557a82fad514754fcc585f48d28b24bef2d3ab0b3defb41be24ad6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a49e9c285b779081fd4882ca98c4e774243a8d0f174b98f4132c966ba81ba8f7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a49e9c285b779081fd4882ca98c4e774243a8d0f174b98f4132c966ba81ba8f7", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v0.1.5
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]     Checking byteorder v1.2.6
[INFO] [stderr]     Checking slab v0.4.1
[INFO] [stderr]     Checking lazycell v1.2.0
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking log v0.4.5
[INFO] [stderr]     Checking mio v0.6.16 (https://github.com/carllerche/mio#50c4af5c)
[INFO] [stderr]     Checking sha1 v0.1.1
[INFO] [stderr]    Compiling http-muncher v0.2.5
[INFO] [stderr]     Checking Heart v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unknown character escape:  
[INFO] [stdout]   --> src/main.rs:78:87
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let response = fmt::format(format_args!("HTTP/1.1 101 Switching Protocols\r\n\ Connection: Upgrade\r\n\
[INFO] [stdout]    |                                                                                       ^ unknown character escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown character escape:  
[INFO] [stdout]   --> src/main.rs:79:82
[INFO] [stdout]    |
[INFO] [stdout] 79 | ...                   Sec-WebSocket-Accept: {}\r\n\ Upgrade: websocket\r\n\r\n", response_key));
[INFO] [stdout]    |                                                    ^ unknown character escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `#`
[INFO] [stdout]   --> src/main.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[#deprive]
[INFO] [stdout]    |       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;`
[INFO] [stdout]   --> src/main.rs:55:79
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 Err(e) =>
[INFO] [stdout]    |                        -- while parsing the `match` arm starting here
[INFO] [stdout] 55 |                     println!("Error while attempting to read socket! {:?}", e);
[INFO] [stdout]    |                                                                               ^ expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>`
[INFO] [stdout]   --> src/main.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Ok(None) => break;
[INFO] [stdout]    |                      ^^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `=`, `@`, or `|`, found `=>`
[INFO] [stdout]    --> src/main.rs:100:35
[INFO] [stdout]     |
[INFO] [stdout] 99  |             SERVER_TOKEN =>
[INFO] [stdout]     |                          -- while parsing the `match` arm starting here
[INFO] [stdout] 100 |                 let client_socket => match self::socket::accept()|
[INFO] [stdout]     |                                   ^^ expected one of `=`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]    --> src/main.rs:106:10
[INFO] [stdout]     |
[INFO] [stdout] 106 |         },
[INFO] [stdout]     |          ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]    --> src/main.rs:114:6
[INFO] [stdout]     |
[INFO] [stdout] 93  | impl Handler for WebSocketServer {
[INFO] [stdout]     |                                  - item list starts here
[INFO] [stdout] ...
[INFO] [stdout] 114 |     };
[INFO] [stdout]     |      ^ non-item starts here
[INFO] [stdout] ...
[INFO] [stdout] 119 | }
[INFO] [stdout]     | - item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown character escape:  
[INFO] [stdout]   --> src/main.rs:78:87
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let response = fmt::format(format_args!("HTTP/1.1 101 Switching Protocols\r\n\ Connection: Upgrade\r\n\
[INFO] [stdout]    |                                                                                       ^ unknown character escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown character escape:  
[INFO] [stdout]   --> src/main.rs:79:82
[INFO] [stdout]    |
[INFO] [stdout] 79 | ...                   Sec-WebSocket-Accept: {}\r\n\ Upgrade: websocket\r\n\r\n", response_key));
[INFO] [stdout]    |                                                    ^ unknown character escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `#`
[INFO] [stdout]   --> src/main.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[#deprive]
[INFO] [stdout]    |       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;`
[INFO] [stdout]   --> src/main.rs:55:79
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 Err(e) =>
[INFO] [stdout]    |                        -- while parsing the `match` arm starting here
[INFO] [stdout] 55 |                     println!("Error while attempting to read socket! {:?}", e);
[INFO] [stdout]    |                                                                               ^ expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>`
[INFO] [stdout]   --> src/main.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Ok(None) => break;
[INFO] [stdout]    |                      ^^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `=`, `@`, or `|`, found `=>`
[INFO] [stdout]    --> src/main.rs:100:35
[INFO] [stdout]     |
[INFO] [stdout] 99  |             SERVER_TOKEN =>
[INFO] [stdout]     |                          -- while parsing the `match` arm starting here
[INFO] [stdout] 100 |                 let client_socket => match self::socket::accept()|
[INFO] [stdout]     |                                   ^^ expected one of `=`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]    --> src/main.rs:106:10
[INFO] [stdout]     |
[INFO] [stdout] 106 |         },
[INFO] [stdout]     |          ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]    --> src/main.rs:114:6
[INFO] [stdout]     |
[INFO] [stdout] 93  | impl Handler for WebSocketServer {
[INFO] [stdout]     |                                  - item list starts here
[INFO] [stdout] ...
[INFO] [stdout] 114 |     };
[INFO] [stdout]     |      ^ non-item starts here
[INFO] [stdout] ...
[INFO] [stdout] 119 | }
[INFO] [stdout]     | - item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fmt`
[INFO] [stdout]   --> src/main.rs:78:24
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let response = fmt::format(format_args!("HTTP/1.1 101 Switching Protocols\r\n\ Connection: Upgrade\r\n\
[INFO] [stdout]    |                        ^^^ use of undeclared type or module `fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ClientState`
[INFO] [stdout]   --> src/main.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |         self.state = ClientState::Connected;
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared type or module `ClientState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:82:30
[INFO] [stdout]    |
[INFO] [stdout] 82 |         self.interest.remove(EventSet::writable());
[INFO] [stdout]    |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |         self.interest.insert(EventSet::readable());
[INFO] [stdout]    |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:141:51
[INFO] [stdout]     |
[INFO] [stdout] 141 |     event_loop.register(&server_socket, Token(0), EventSet::readable(), PollOpt::edge()).unwrap();
[INFO] [stdout]     |                                                   ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `u` in this scope
[INFO] [stdout]   --> src/main.rs:29:38
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn on_header_field(&mut self, s: u) -> bool {
[INFO] [stdout]    |                                      ^ help: a builtin type with a similar name exists: `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `u` in this scope
[INFO] [stdout]   --> src/main.rs:34:38
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn on_header_value(&mut self, s: u) -> bool {
[INFO] [stdout]    |                                      ^ help: a builtin type with a similar name exists: `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `HttpParser`
[INFO] [stdout]   --> src/main.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 22 | / struct HttpParser {
[INFO] [stdout] 23 | |     current_key: Option<String>,
[INFO] [stdout] 24 | |     #[#deprive]
[INFO] [stdout] 25 | |     headers: Rc<RefCell<HashMap<String>>>,
[INFO] [stdout] 26 | | }
[INFO] [stdout]    | |_- `HttpParser` defined here
[INFO] [stdout] ...
[INFO] [stdout] 71 |               http_parser: Parser::Request(HttpParser)
[INFO] [stdout]    |                                            ^^^^^^^^^^ help: use struct literal syntax instead: `HttpParser { current_key: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]   --> src/main.rs:93:6
[INFO] [stdout]    |
[INFO] [stdout] 93 | impl Handler for WebSocketServer {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 6  | use deprecated::Handler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]   --> src/main.rs:97:42
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet){
[INFO] [stdout]    |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  | use deprecated::EventLoop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]    --> src/main.rs:97:92
[INFO] [stdout]     |
[INFO] [stdout] 97  |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet){
[INFO] [stdout]     |                                                                                            ^^^^^^^^ help: a trait with a similar name exists: `Evented`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/mio-e79f285e2377d154/50c4af5/src/event_imp.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub trait Evented {
[INFO] [stdout]     | ----------------- similarly named trait `Evented` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]    --> src/main.rs:137:26
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 6   | use deprecated::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `WebSocketServer`
[INFO] [stdout]    --> src/main.rs:138:23
[INFO] [stdout]     |
[INFO] [stdout] 87  | / struct WebSocketServer{
[INFO] [stdout] 88  | |     socket: TcpListener,
[INFO] [stdout] 89  | |     clients: HashMap<Token, TcpStream>,
[INFO] [stdout] 90  | |     token_counter: usize
[INFO] [stdout] 91  | | }
[INFO] [stdout]     | |_- `WebSocketServer` defined here
[INFO] [stdout] ...
[INFO] [stdout] 138 |       let mut handler = WebSocketServer;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `WebSocketServer { socket: val, clients: val, token_counter: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Heart`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fmt`
[INFO] [stdout]   --> src/main.rs:78:24
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let response = fmt::format(format_args!("HTTP/1.1 101 Switching Protocols\r\n\ Connection: Upgrade\r\n\
[INFO] [stdout]    |                        ^^^ use of undeclared type or module `fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ClientState`
[INFO] [stdout]   --> src/main.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |         self.state = ClientState::Connected;
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared type or module `ClientState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:82:30
[INFO] [stdout]    |
[INFO] [stdout] 82 |         self.interest.remove(EventSet::writable());
[INFO] [stdout]    |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |         self.interest.insert(EventSet::readable());
[INFO] [stdout]    |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:141:51
[INFO] [stdout]     |
[INFO] [stdout] 141 |     event_loop.register(&server_socket, Token(0), EventSet::readable(), PollOpt::edge()).unwrap();
[INFO] [stdout]     |                                                   ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `u` in this scope
[INFO] [stdout]   --> src/main.rs:29:38
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn on_header_field(&mut self, s: u) -> bool {
[INFO] [stdout]    |                                      ^ help: a builtin type with a similar name exists: `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `u` in this scope
[INFO] [stdout]   --> src/main.rs:34:38
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn on_header_value(&mut self, s: u) -> bool {
[INFO] [stdout]    |                                      ^ help: a builtin type with a similar name exists: `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `HttpParser`
[INFO] [stdout]   --> src/main.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 22 | / struct HttpParser {
[INFO] [stdout] 23 | |     current_key: Option<String>,
[INFO] [stdout] 24 | |     #[#deprive]
[INFO] [stdout] 25 | |     headers: Rc<RefCell<HashMap<String>>>,
[INFO] [stdout] 26 | | }
[INFO] [stdout]    | |_- `HttpParser` defined here
[INFO] [stdout] ...
[INFO] [stdout] 71 |               http_parser: Parser::Request(HttpParser)
[INFO] [stdout]    |                                            ^^^^^^^^^^ help: use struct literal syntax instead: `HttpParser { current_key: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]   --> src/main.rs:93:6
[INFO] [stdout]    |
[INFO] [stdout] 93 | impl Handler for WebSocketServer {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 6  | use deprecated::Handler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]   --> src/main.rs:97:42
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet){
[INFO] [stdout]    |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  | use deprecated::EventLoop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]    --> src/main.rs:97:92
[INFO] [stdout]     |
[INFO] [stdout] 97  |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet){
[INFO] [stdout]     |                                                                                            ^^^^^^^^ help: a trait with a similar name exists: `Evented`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/mio-e79f285e2377d154/50c4af5/src/event_imp.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub trait Evented {
[INFO] [stdout]     | ----------------- similarly named trait `Evented` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]    --> src/main.rs:137:26
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 6   | use deprecated::EventLoop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `WebSocketServer`
[INFO] [stdout]    --> src/main.rs:138:23
[INFO] [stdout]     |
[INFO] [stdout] 87  | / struct WebSocketServer{
[INFO] [stdout] 88  | |     socket: TcpListener,
[INFO] [stdout] 89  | |     clients: HashMap<Token, TcpStream>,
[INFO] [stdout] 90  | |     token_counter: usize
[INFO] [stdout] 91  | | }
[INFO] [stdout]     | |_- `WebSocketServer` defined here
[INFO] [stdout] ...
[INFO] [stdout] 138 |       let mut handler = WebSocketServer;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `WebSocketServer { socket: val, clients: val, token_counter: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "a49e9c285b779081fd4882ca98c4e774243a8d0f174b98f4132c966ba81ba8f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a49e9c285b779081fd4882ca98c4e774243a8d0f174b98f4132c966ba81ba8f7", kill_on_drop: false }`
[INFO] [stdout] a49e9c285b779081fd4882ca98c4e774243a8d0f174b98f4132c966ba81ba8f7
